package com.uyayo.cms.service;

import com.uyayo.cms.entity.CmsReply;
import com.uyayo.cms.entity.CmsReplyLike;
import com.uyayo.cms.model.CmsReplyBO;
import com.uyayo.cms.model.CmsReplyCondition;
import com.uyayo.cms.model.CmsReplyCountBO;
import com.uyayo.framework.pagehelper.pojo.PageBean;

import java.util.List;

public interface CmsReplyService {


	CmsReply getReplyById(Long id);

	List<CmsReply> selectReply(CmsReplyCondition cmsReplyCondition);

	PageBean<CmsReply> selectReplyByPaging(Integer page, Integer rows, String sort, String order, CmsReplyCondition cmsReplyCondition);

    PageBean<CmsReplyBO> selectReplyListByPaging(Integer pageCurrent, Integer pageSize, String sort, String order, CmsReplyCondition cmsReplyCondition);

    int createCmsReply(CmsReply cmsReply);

	CmsReply selectOne(CmsReply cmsReply);

	int updateReply(CmsReply cmsReply);

	int deleteReply(Long id);

    int updateReplyCount(CmsReplyCountBO cmsReplyCountBO);

	int like(CmsReplyLike cmsReplyLike);
}
